package com.youkeyi.ddy.cloud.common.api.basic.hr.employee.interview;

import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.interview.dto.HrEmployeeInterviewRecordsListCloudDto;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.interview.param.HrEmployeeInterviewRecordsCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.interview.param.HrEmployeeInterviewRecordsDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.interview.param.HrEmployeeInterviewRecordsQueryCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.interview.param.HrEmployeeInterviewRecordsUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * HrEmployeeInterviewRecordsCloudServiceFallback
 *
 * @author  liuxiawang
 * @Date 2024/2/19 2:32 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/hr/employee/interview/records/fallback")
public class HrEmployeeInterviewRecordsCloudServiceFallback implements HrEmployeeInterviewRecordsCloudService {

    @Override
    public HrEmployeeInterviewRecordsListCloudDto query(HrEmployeeInterviewRecordsQueryCloudParam param) {
        return new HrEmployeeInterviewRecordsListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(HrEmployeeInterviewRecordsCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(HrEmployeeInterviewRecordsUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(HrEmployeeInterviewRecordsDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
